<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>角色管理</title>
    <%@include file="/static/common/common.jsp"%>
    <script type="text/javascript" src="${pageContext.request.contextPath}/static/js/role.js"></script>
    <style>
        #role_dialog #myform .panel-header{
            height: 25px    ;
        }

        #role_dialog #myform .panel-title{
            color: #FFFFFF;
            background-color: #171e24;
            margin-top: -5px;
            text-align: center;
        }
    </style>
</head>
<body>

<%--工具栏--%>
    <div id="tb">
        <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-add',plain:true" id="add">添加</a>
        <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-edit',plain:true" id="edit">编辑</a>
        <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-remove',plain:true" id="delete">删除</a>
        <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-reload',plain:true" id="reload">刷新</a>
        <input type="text" name="keyword" style="width: 200px; height: 30px; padding-left: 5px;"/>
        <a class="easyui-linkbutton" iconCls="icon-search" id="searchbtn">查询</a>
    </div>

<%--datagrid数据表格--%>
    <table id="role_dg"></table>

<%--添加/编辑 dialog对话框 --%>
    <div id="role_dialog">
        <form id="myform">
            <table align="center" style="border-spacing: 20px 30px">
                <input type="hidden" name="rid">
                <tr align="center">
                    <td>角色编号: <input type="text" name="rnum" ></td>
                    <td>角色名称: <input type="text" name="rname"></td>
                </tr>
                <tr>
                    <td><div id="AllPermission"></div></td>
                    <td><div id="YouNeedPermission"></div></td>
                </tr>
            </table>
        </form>
    </div>

</body>
</html>
